<?php
$tdataexpodoc_ugmembers=array();
	$tdataexpodoc_ugmembers[".NumberOfChars"]=80; 
	$tdataexpodoc_ugmembers[".ShortName"]="expodoc_ugmembers";
	$tdataexpodoc_ugmembers[".OwnerID"]="";
	$tdataexpodoc_ugmembers[".OriginalTable"]="expodoc_ugmembers";


	
//	field labels
$fieldLabelsexpodoc_ugmembers = array();
if(mlang_getcurrentlang()=="English")
{
	$fieldLabelsexpodoc_ugmembers["English"]=array();
	$fieldToolTipsexpodoc_ugmembers["English"]=array();
	$fieldLabelsexpodoc_ugmembers["English"]["UserName"] = "User Name";
	$fieldToolTipsexpodoc_ugmembers["English"]["UserName"] = "";
	$fieldLabelsexpodoc_ugmembers["English"]["GroupID"] = "Group ID";
	$fieldToolTipsexpodoc_ugmembers["English"]["GroupID"] = "";
	if (count($fieldToolTipsexpodoc_ugmembers["English"])){
		$tdataexpodoc_ugmembers[".isUseToolTips"]=true;
	}
}
if(mlang_getcurrentlang()=="Chinese (Hong Kong S.A.R.)")
{
	$fieldLabelsexpodoc_ugmembers["Chinese (Hong Kong S.A.R.)"]=array();
	$fieldToolTipsexpodoc_ugmembers["Chinese (Hong Kong S.A.R.)"]=array();
	$fieldLabelsexpodoc_ugmembers["Chinese (Hong Kong S.A.R.)"]["UserName"] = "User Name";
	$fieldToolTipsexpodoc_ugmembers["Chinese (Hong Kong S.A.R.)"]["UserName"] = "";
	$fieldLabelsexpodoc_ugmembers["Chinese (Hong Kong S.A.R.)"]["GroupID"] = "Group ID";
	$fieldToolTipsexpodoc_ugmembers["Chinese (Hong Kong S.A.R.)"]["GroupID"] = "";
	if (count($fieldToolTipsexpodoc_ugmembers["Chinese (Hong Kong S.A.R.)"])){
		$tdataexpodoc_ugmembers[".isUseToolTips"]=true;
	}
}
if(mlang_getcurrentlang()=="Chinese (Taiwan)")
{
	$fieldLabelsexpodoc_ugmembers["Chinese (Taiwan)"]=array();
	$fieldToolTipsexpodoc_ugmembers["Chinese (Taiwan)"]=array();
	$fieldLabelsexpodoc_ugmembers["Chinese (Taiwan)"]["UserName"] = "User Name";
	$fieldToolTipsexpodoc_ugmembers["Chinese (Taiwan)"]["UserName"] = "";
	$fieldLabelsexpodoc_ugmembers["Chinese (Taiwan)"]["GroupID"] = "Group ID";
	$fieldToolTipsexpodoc_ugmembers["Chinese (Taiwan)"]["GroupID"] = "";
	if (count($fieldToolTipsexpodoc_ugmembers["Chinese (Taiwan)"])){
		$tdataexpodoc_ugmembers[".isUseToolTips"]=true;
	}
}
if(mlang_getcurrentlang()=="French")
{
	$fieldLabelsexpodoc_ugmembers["French"]=array();
	$fieldToolTipsexpodoc_ugmembers["French"]=array();
	if (count($fieldToolTipsexpodoc_ugmembers["French"])){
		$tdataexpodoc_ugmembers[".isUseToolTips"]=true;
	}
}


	
	$tdataexpodoc_ugmembers[".NCSearch"]=true;

	

$tdataexpodoc_ugmembers[".shortTableName"] = "expodoc_ugmembers";
$tdataexpodoc_ugmembers[".nSecOptions"] = 0;
$tdataexpodoc_ugmembers[".recsPerRowList"] = 1;	
$tdataexpodoc_ugmembers[".tableGroupBy"] = "0";
$tdataexpodoc_ugmembers[".mainTableOwnerID"] = "";
$tdataexpodoc_ugmembers[".moveNext"] = 1;




$tdataexpodoc_ugmembers[".showAddInPopup"] = false;

$tdataexpodoc_ugmembers[".showEditInPopup"] = false;

$tdataexpodoc_ugmembers[".showViewInPopup"] = false;


$tdataexpodoc_ugmembers[".fieldsForRegister"] = array();

$tdataexpodoc_ugmembers[".listAjax"] = true;

	$tdataexpodoc_ugmembers[".audit"] = false;

	$tdataexpodoc_ugmembers[".locking"] = false;
	
$tdataexpodoc_ugmembers[".listIcons"] = true;

$tdataexpodoc_ugmembers[".exportTo"] = true;

$tdataexpodoc_ugmembers[".printFriendly"] = true;


$tdataexpodoc_ugmembers[".showSimpleSearchOptions"] = true;

$tdataexpodoc_ugmembers[".showSearchPanel"] = true;


$tdataexpodoc_ugmembers[".isUseAjaxSuggest"] = true;

$tdataexpodoc_ugmembers[".rowHighlite"] = true;


// button handlers file names

$tdataexpodoc_ugmembers[".addPageEvents"] = false;


// use datepicker for search panel
$tdataexpodoc_ugmembers[".isUseCalendarForSearch"] = false;

// use timepicker for search panel
$tdataexpodoc_ugmembers[".isUseTimeForSearch"] = false;

$tdataexpodoc_ugmembers[".isUseiBox"] = false;




$tdataexpodoc_ugmembers[".isUseInlineJs"] = $tdataexpodoc_ugmembers[".isUseInlineAdd"] || $tdataexpodoc_ugmembers[".isUseInlineEdit"];

$tdataexpodoc_ugmembers[".allSearchFields"] = array();

$tdataexpodoc_ugmembers[".globSearchFields"][] = "UserName";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("UserName", $tdataexpodoc_ugmembers[".allSearchFields"]))
{
	$tdataexpodoc_ugmembers[".allSearchFields"][] = "UserName";	
}
$tdataexpodoc_ugmembers[".globSearchFields"][] = "GroupID";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("GroupID", $tdataexpodoc_ugmembers[".allSearchFields"]))
{
	$tdataexpodoc_ugmembers[".allSearchFields"][] = "GroupID";	
}


$tdataexpodoc_ugmembers[".googleLikeFields"][] = "UserName";
$tdataexpodoc_ugmembers[".googleLikeFields"][] = "GroupID";



$tdataexpodoc_ugmembers[".advSearchFields"][] = "UserName";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("UserName", $tdataexpodoc_ugmembers[".allSearchFields"])) 
{
	$tdataexpodoc_ugmembers[".allSearchFields"][] = "UserName";	
}
$tdataexpodoc_ugmembers[".advSearchFields"][] = "GroupID";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("GroupID", $tdataexpodoc_ugmembers[".allSearchFields"])) 
{
	$tdataexpodoc_ugmembers[".allSearchFields"][] = "GroupID";	
}

$tdataexpodoc_ugmembers[".isTableType"] = "list";


	

$tdataexpodoc_ugmembers[".isDisplayLoading"] = true;

$tdataexpodoc_ugmembers[".isResizeColumns"] = false;





$tdataexpodoc_ugmembers[".pageSize"] = 20;

$gstrOrderBy = "";
if(strlen($gstrOrderBy) && strtolower(substr($gstrOrderBy,0,8))!="order by")
	$gstrOrderBy = "order by ".$gstrOrderBy;
$tdataexpodoc_ugmembers[".strOrderBy"] = $gstrOrderBy;
	
$tdataexpodoc_ugmembers[".orderindexes"] = array();

$tdataexpodoc_ugmembers[".sqlHead"] = "SELECT UserName,   GroupID";
$tdataexpodoc_ugmembers[".sqlFrom"] = "FROM expodoc_ugmembers";
$tdataexpodoc_ugmembers[".sqlWhereExpr"] = "";
$tdataexpodoc_ugmembers[".sqlTail"] = "";




//fill array of records per page for list and report without group fields
$arrRPP = array();
$arrRPP[] = 10;
$arrRPP[] = 20;
$arrRPP[] = 30;
$arrRPP[] = 50;
$arrRPP[] = 100;
$arrRPP[] = 500;
$arrRPP[] = -1;
$tdataexpodoc_ugmembers[".arrRecsPerPage"] = $arrRPP;

//fill array of groups per page for report with group fields
$arrGPP = array();
$arrGPP[] = 1;
$arrGPP[] = 3;
$arrGPP[] = 5;
$arrGPP[] = 10;
$arrGPP[] = 50;
$arrGPP[] = 100;
$arrGPP[] = -1;
$tdataexpodoc_ugmembers[".arrGroupsPerPage"] = $arrGPP;

	$tableKeys = array();
	$tdataexpodoc_ugmembers[".Keys"] = $tableKeys;

//	UserName
	$fdata = array();
	$fdata["strName"] = "UserName";
	$fdata["ownerTable"] = "expodoc_ugmembers";
		$fdata["Label"]="User Name"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "UserName";
	
		$fdata["FullName"]= "UserName";
	
		
		
		
		
		
				$fdata["Index"]= 1;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=50";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataexpodoc_ugmembers["UserName"]=$fdata;
//	GroupID
	$fdata = array();
	$fdata["strName"] = "GroupID";
	$fdata["ownerTable"] = "expodoc_ugmembers";
		$fdata["Label"]="Group ID"; 
	
		
		
	$fdata["FieldType"]= 3;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "GroupID";
	
		$fdata["FullName"]= "GroupID";
	
		
		
		
		
		
				$fdata["Index"]= 2;
				$fdata["EditParams"]="";
			
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
				$fdata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataexpodoc_ugmembers["GroupID"]=$fdata;

	
$tables_data["expodoc_ugmembers"]=&$tdataexpodoc_ugmembers;
$field_labels["expodoc_ugmembers"] = &$fieldLabelsexpodoc_ugmembers;
$fieldToolTips["expodoc_ugmembers"] = &$fieldToolTipsexpodoc_ugmembers;

// -----------------start  prepare master-details data arrays ------------------------------//
// tables which are detail tables for current table (master)
$detailsTablesData["expodoc_ugmembers"] = array();

	
// tables which are master tables for current table (detail)
$masterTablesData["expodoc_ugmembers"] = array();

// -----------------end  prepare master-details data arrays ------------------------------//

require_once(getabspath("classes/sql.php"));










$proto358=array();
$proto358["m_strHead"] = "SELECT";
$proto358["m_strFieldList"] = "UserName,   GroupID";
$proto358["m_strFrom"] = "FROM expodoc_ugmembers";
$proto358["m_strWhere"] = "";
$proto358["m_strOrderBy"] = "";
$proto358["m_strTail"] = "";
$proto359=array();
$proto359["m_sql"] = "";
$proto359["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto359["m_column"]=$obj;
$proto359["m_contained"] = array();
$proto359["m_strCase"] = "";
$proto359["m_havingmode"] = "0";
$proto359["m_inBrackets"] = "0";
$proto359["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto359);

$proto358["m_where"] = $obj;
$proto361=array();
$proto361["m_sql"] = "";
$proto361["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto361["m_column"]=$obj;
$proto361["m_contained"] = array();
$proto361["m_strCase"] = "";
$proto361["m_havingmode"] = "0";
$proto361["m_inBrackets"] = "0";
$proto361["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto361);

$proto358["m_having"] = $obj;
$proto358["m_fieldlist"] = array();
						$proto363=array();
			$obj = new SQLField(array(
	"m_strName" => "UserName",
	"m_strTable" => "expodoc_ugmembers"
));

$proto363["m_expr"]=$obj;
$proto363["m_alias"] = "";
$obj = new SQLFieldListItem($proto363);

$proto358["m_fieldlist"][]=$obj;
						$proto365=array();
			$obj = new SQLField(array(
	"m_strName" => "GroupID",
	"m_strTable" => "expodoc_ugmembers"
));

$proto365["m_expr"]=$obj;
$proto365["m_alias"] = "";
$obj = new SQLFieldListItem($proto365);

$proto358["m_fieldlist"][]=$obj;
$proto358["m_fromlist"] = array();
												$proto367=array();
$proto367["m_link"] = "SQLL_MAIN";
			$proto368=array();
$proto368["m_strName"] = "expodoc_ugmembers";
$proto368["m_columns"] = array();
$proto368["m_columns"][] = "UserName";
$proto368["m_columns"][] = "GroupID";
$obj = new SQLTable($proto368);

$proto367["m_table"] = $obj;
$proto367["m_alias"] = "";
$proto369=array();
$proto369["m_sql"] = "";
$proto369["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto369["m_column"]=$obj;
$proto369["m_contained"] = array();
$proto369["m_strCase"] = "";
$proto369["m_havingmode"] = "0";
$proto369["m_inBrackets"] = "0";
$proto369["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto369);

$proto367["m_joinon"] = $obj;
$obj = new SQLFromListItem($proto367);

$proto358["m_fromlist"][]=$obj;
$proto358["m_groupby"] = array();
$proto358["m_orderby"] = array();
$obj = new SQLQuery($proto358);

$queryData_expodoc_ugmembers = $obj;
$tdataexpodoc_ugmembers[".sqlquery"] = $queryData_expodoc_ugmembers;

$tableEvents["expodoc_ugmembers"] = new eventsBase;

?>
